

<ul>
  <?php foreach ($category as $category): ?>    
  
    <li>
        <a href="<?php echo url_for('category/show?id='.$category->getId()) ?>"><?php echo __($category->getTitle())  ?> </a>
    </li>         
  <?php endforeach; ?>
    
</ul>